Apparatus of a digital echo canceller and method therefor

ABSTRACT

An apparatus of a digital echo canceller comprises a first-set delay circuits, a selector, a second-set delay circuits, a plurality of multipliers and an adder. The first-set delay circuits are arranged into groups, and each group has N delay circuits. An exhaustive search function is carried out to produce a plurality of energy sums. The selector will select the biggest energy sum to serve as a significant part and then transmit to the outputs of the second-set delay circuits, the multipliers and the adder. An estimated echo signal is produced to cancel the echo signal.

CROSS-REFERENCE TO RELATED APPLICATION

[0001] This application claims the priority benefit of Taiwan application Ser. No. 89126182, filed Dec. 8, 2000.

BACKGROUND OF THE INVENTION

[0002] 1. Field of Invention

[0003] The present invention relates generally to a method and apparatus of a digital echo canceller. More particularly, the present invention relates to a method and apparatus of a digital echo canceller that only responds to echo signals to perform a multiplication-and-addition function.

[0004] 2. Description of the Related Art

[0005]FIG. 1 illustrates a performance of a full-duplex digital transceiver. Both ends of the full-duplex digital transceiver are connected to a cable 22. Each end of the full-duplex digital transceiver has a transceiver 18 or 20. The transceiver 18 at the left end of the full-duplex digital transceiver comprises a transmitter (TX) 12, a receiver (RX) 14 and a hybrid circuit 16. The transmitter 12 and the receiver 14 are connected to the hybrid circuit 16 to receive and transmit signals.

[0006] If the transceiver 18 at the left end of the full-duplex digital transceiver is used as a near-end transceiver, the other transceiver at the right end will be a far-end transceiver. When the transmitter 12 transmits a signal to the far-end of the full-duplex digital transceiver 20, the transmitter will often not match the impedance of the far-end full-duplex digital transceiver 20 due to a transmitting cable 22. A far-end echo signal that will transmit to the near-end of the full-duplex digital transceiver 16 influences the received signal of the receiver 14. An interfering noise will occur.

[0007] To prevent the above-mentioned state from occurring, the conventional method will require designing a canceller to eliminate the echo signals. The structure illustrated in FIG. 2 is an adaptive finite impulse response digital echo canceller (adaptive FIR digital echo canceller). Xn signals are transmitted to a plurality of delay circuits D. After receiving the Xn signals, an output of each delay circuit D produces a signal. These signals are multiplied respectively to a plurality of significant coefficients C₀, C₁, C₂, . . . C_(N−2), C_(N−1) to produce multiplied values. These multiplied values are then added together to produce a sum (the sum Σ is shown on the FIG. 2). An estimated echo signal is thus produced to eliminate the interference noise.

[0008] The above mentioned structure transmits signals utilizing a longer transmitting cable and a higher frequency (for example, a gigabit ethernet case, at the sample rate of 125 Mhz) to produce an echo signal's length that is shown in FIG. 3. The length of the echo signal is approximately 80 EC taps long. When the length of the echo signal is longer, the number of significant coefficients C₀, C₁, . . . C_(N−2), C_(N−1) that multiply respectively to the signals transmitted by the delay circuits D of FIG. 2 will increase. As a result, the amount of addition and multiplication operations that have to be calculated will also increase. The whole operation is not only complex, but the cost of the hardware is also high.

SUMMARY OF THE INVENTION

[0009] According to above, the present invention provides an installation of a digital echo canceller and method therefor. It is an object of the present invention to perform a multiplication-and-addition functions according to an echo part that relates to an echo signal so that an unnecessary circuit design can be omitted.

[0010] The present invention provides an installation of a digital echo canceller. The digital echo canceller is suitable for a full-duplex digital transceiver to eliminate an echo signal that is produced by the full-duplex digital transceiver.

[0011] The receiver of the full-duplex digital transceiver is connected to a first receiving end and a second receiving end by a cable. The first receiving end produces an input signal.

[0012] The structure of the present invention comprises a plurality of first-set delay circuits, a selector, a plurality of second-set delay circuits, a plurality of multipliers and an adder. The plurality of first-set delay circuits comprise an input and an output, wherein the input and the output are connected in series. An input signal that is received by a first input is transmitted out from the full-duplex digital transceiver. First-set delay circuits are arranged into groups, and each group has N delay circuits. The selector comprises an input and an output. The input of the selector is according to an exhaustive search to select any set of delay circuits' outputs for connection. A plurality of second-set delay circuits comprise an input and output, wherein the input and the output are connected in series. The first input is connected to the output of the selector. The number of the multipliers is the same as the number of the second-set of the delay circuits. The multipliers are connected respectively to each output of the second-set delay circuits. Each of these multipliers are multiplied respectively to an EC coefficient to produce signals. An adder will receive all these signals that are produced from the multipliers and add these values together to produce a sum, wherein the sum is an estimated echo signal that will cancel the echo signal.

[0013] The exhaustive search function is according to the energy sum that is produced by each set of delay circuits. The largest energy sum of the delay circuits' set is selected to connect its output to the selector. The energy sum can be calculated by a formula ${{E(s)} = {\sum\limits_{i = 1}^{N_{s}}\quad {{ci}^{2}(s)}}},$

[0014] wherein E(s) is the EC energy sum, Ci(s) is the EC coefficient and N_(s) is the response number of the echo signal and the N_(s) number is same as the number of the second-set of delay circuits. The response number is 20 for example.

[0015] It is one object of the present invention to provide a method of a digital echo canceller to cancel an echo signal. This method is suitable for a full-duplex digital transceiver. A first receiving end is connected to a second receiving end by a cable. The input signal is transmitted by the first receiving end.

[0016] In order to determine the significant part of echo signals, the searching steps comprise: (a) the total number of search S can be calculated from an equation ${S = \frac{N_{{is},\max}}{\Delta \quad N}},$

[0017] wherein the largest response number of the insignificant part of the response signal is N_(is,max), and ΔN is an incremental number. N_(is,max) is found first; then the value ΔN is determined from the value of N_(is,max). Once these two values are known, the total number of searching S can be calculated.

[0018] (b) an equation N_(is)(s)=s*ΔN is used to search for a starting point of the echo response, wherein ΔN is assumed to be 10 and the value of s starts from 0. Once the starting point of the echo response N_(is)(s) is found, the response number of searching N_(s) can be determined. The N_(s) value is used to calculate the energy sum of EC from an energy equation ${{E(s)} = {\sum\limits_{i = 1}^{N_{s}}\quad {{ci}^{2}(s)}}},$

[0019] wherein E(s) is the energy sum of EC, and Ci(s) is the EC coefficient.

[0020] (c) the value of S that is calculated in step (a) is used as a reference to determine the value of s. In order to get s=S, the calculation process has to repeat step (b) until s=S and N_(is)(s)=N_(is,max).

[0021] (d), the largest energy sum that is calculated during each searching is chosen for the significant part.

[0022] (e), finally the values of the significant part are multiplied to corresponding correlation coefficients. The results of this multiplication operation are then added together to give an estimated echo signal that will cancel the echo signal. From the above-mentioned, the value of ΔN is set at 10, and the value of N_(s) is set at 20, for example.

[0023] It is to be understood that both the forgoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the invention as claimed.

BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings are included to provide a further understanding of the present invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention. In the drawings,

[0025]FIG. 1 is a diagram that illustrates a performance of a full-duplex digital transceiver;

[0026]FIG. 2 is a diagram that illustrates a structure of an adaptive FIR digital echo canceller;

[0027]FIG. 3 is a graph of the distribution of the echo signal;

[0028]FIG. 4 is a diagram that illustrates an apparatus of a digital echo canceller according to a preferred embodiment of the present invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0029] The conventional structure of a digital echo canceller utilizes a longer transmitting cable and a higher frequency; therefore, the amount of multiplication and addition operations between the significant coefficients and the signals that are produced by the delay circuits increases. As a result the whole operation becomes complex and the cost of the hardware increases.

[0030] According to the above-mentioned disadvantage, a method can be obtained from FIG. 3 to improve the conventional structure. FIG. 3 illustrates a graph of the echo signal distribution. According to the average calculation, the values of 10 cycles are normally used but in order to reduce the deviation, an extra 10 cycles (from the first part and the last part) are taken into account for the calculation. The results that we obtained from the calculation can be divided into two parts, wherein the front part is an insignificant part and the latter part is a significant part.

[0031] The method of the present invention of a digital echo canceller is to connect from a first receiving end of the full-duplex digital transceiver to its second receiving end by using a cable. The steps of this connecting process comprise:

[0032] (a) N_(is,max) is the largest response number of the insignificant part of the response signal that shows in FIG. 3 of the insignificant part of echo signals, we will therefore set the value of N_(is,max) at 60. ΔN is an incremental number, wherein we set the value at 10, for example. The total number of search S can be calculated from an equation ${S = \frac{N_{{is},\max}}{\Delta \quad N}},{S = {{60/10} = 6.}}$

[0033] (b) an equation N_(is)(s)=s*ΔN is used to search for a starting point of the echo response, wherein ΔN is set to be 10 and the value of s starts from 0. Once the starting point of the echo response N_(is)(s) is found, the response number of searching N_(s) can be determined. From FIG. 3, we use 10 cycles of the echo signal distribution, but in order to have a more acutely value an extra 10 cycles are taken from the first part and the last part of the distribution. Therefore, the N_(s) value is set at 20. The N_(s) value is used to calculate the energy sum of EC from an energy equation ${{E(s)} = {\sum\limits_{i = 1}^{N_{s}}\quad {{ci}^{2}(s)}}},$

[0034] wherein E(s) is the energy sum of EC, and Ci(s) is the EC coefficient. In general, in the insignificant part of the echo signal distribution, the value of Ci(s) is usually very small, and the E(s) that is calculated is almost 0. The E(s) value starts to become larger when the echo signal distributes at the significant part.

[0035] (c) the value of S that is calculated in step (a) is used as a reference to determine the value of s. In order to get s=S, the calculation process has to repeat step (b) until s=S and N_(is)(s)=N_(is,max). The total number of searching is S+1, and each energy sum E(s) is calculated.

[0036] (d) the largest energy sum that is calculated during each searching is selected for the significant part.

[0037] (e) the selected values of the significant part are multiplied to corresponding correlation coefficients. The results of this multiplication operation are then added together to give an estimated echo signal that will cancel the echo signal.

[0038]FIG. 4 is a diagram that illustrates an apparatus of a digital echo canceller according to a preferred embodiment of the present invention. The digital echo canceller that is suitable for a full-duplex digital transceiver (shown in FIG. 1) is used to cancel the echo signal.

[0039] The canceller comprises a plurality of first-set delay circuits 40, a selector 42, a plurality of second set delay circuits 44, a plurality of multipliers 46 and a adder 48. The plurality of first-set delay circuits 40, each has an input and an output and are connected in series. The first input receives an input signal that is transmitted by the full-duplex digital transceiver (Ref. FIG. 1). The first-set delay circuits are arranged in groups and each group has N delay circuits. FIG. 4 shows the first group of the first-set delay circuits 50 is from number 1 to number ΔN, and second group 52 is from ΔN+1 to 2ΔN.

[0040] The input of the selector 42 is used for searching and it selects to connect any one of the output of the first-set delay circuits. The searching function depends on the plurality of energy sums are produced from the first-set delay circuits (for example 50 and 52 in FIG. 4), the energy equation is ${{E(s)} = {\sum\limits_{i = 1}^{N_{s}}\quad {{ci}^{2}(s)}}},$

[0041] wherein E(s) is the energy sum of EC, and Ci(s) is the EC coefficient. N_(s) is the response number of the echo signal and the number of N_(s) is the same as the number of second-set of delay circuits, and the number of N_(s) is set at 20, for example.

[0042] The first-set delay circuits can be designed into a simple circuit (not shown in the diagram). The selector will the select the largest energy sum of an output of the first-set delay circuits to use for the significant part, and the selected output of the delay circuit is connected to the input of the selector 42.

[0043] The second-set delay circuits 44 are connected in series. The output of the selector 42 is connected to the input of the second-set delay circuits. The multipliers 46 have the same number as the second-set circuits 44. A plurality of correlation coefficients will be received by the multipliers when the signals are produced from the outputs of the second-set circuits. These signals are multiplied respectively to the correlation coefficients. The results are the added together by a adder to produce an estimated echo signal (ESS). The estimated echo signal is used to cancel the echo signal.

[0044] According to above, the present invention provides an apparatus of a digital echo canceller and method therefor. It is an object of the present invention to perform a multiplication-and-addition functions according to an echo part that relates to an echo signal so that an unnecessary circuit design can be omitted. The cost of the hardware can be reduced.

[0045] Other embodiments of the invention will appear to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims. 

What is claimed is:
 1. An apparatus of a digital echo canceller that is suitable to use on a full-duplex digital echo transceiver and is used to cancel a produced echo signal, the apparatus comprises: a plurality of first-set delay circuits installed, wherein each delay circuit has an input and an output, and are all connected in series, and the first input receives an input signal that transmitted from the full-duplex digital transceiver, and the first-set delay circuits are arranged in groups and each group has N delay circuits; a selector with an input and an output, wherein the input is based on an exhaustive search that chooses to connect to one the outputs of the first delay circuits; a plurality of second-set delay circuits, wherein each circuit has an input and an output and are all connected in series, and the first input is connected to the output of the selector; a plurality of multipliers wherein the number of the multipliers is the same as the number of the second-set delay circuits, and the multipliers are connected respectively to the outputs of the second-set delay circuits, and the transmitting signals from the second-set delay circuits are multiplied respectively to correlation coefficients; an adder that adds the results from the multiplication operation together to produce an estimated echo signal, wherein the estimated echo signal cancels the echo signal.
 2. The apparatus of claim 1, wherein the exhaustive search function depends on a largest energy sum that is produced from the outputs of each group of delay circuits to select an output to connect to the selector.
 3. The apparatus of claim 2, wherein the energy sum is calculated from an equation ${{E(s)} = {\sum\limits_{i = 1}^{N_{s}}\quad {{ci}^{2}(s)}}},$

wherein E(s) is an energy sum of EC, and Ci(s) is an EC coefficient, N_(s) is the response number of the echo signal and a value of N_(s) is the same as the number of second-set delay circuits.
 4. The apparatus of claim 3, wherein the value of N_(s) is set at
 20. 5. A method of a digital canceller that is suitable for a full-duplex digital transceiver and is used to cancel an echo signal, with a first receiving end connected to a second receiving end by a cable, and the first receiving end transmits an input signal, the steps of the method comprise: (a) calculating total number of searching S by using a N_(is,max) value and a ΔN value, wherein N_(is,max) is the largest response number of the insignificant part of the response signal and ΔN is an incremental number, N_(is,max) found first; the value ΔN is determined from the value of N_(is,max), and once these two values are known, the total number of searching S can be calculated; (b) using an equation N_(is)(s)=s*ΔN to search for a starting point of the echo response, wherein ΔN is assumed to be 10 and the value of s starts from 0, and once the starting point of the echo response N_(is)(s) is found, the response number of searching N_(s) can be determined; the N_(s) value is used to calculate the energy sum of EC from an energy equation ${{E(s)} = {\sum\limits_{i = 1}^{N_{s}}\quad {{ci}^{2}(s)}}},$

wherein E(s) is the energy sum of EC, and Ci(s) is the EC coefficient; (c) calculating the value of S in step (a) and using the S value as a reference to determine the value of s in order to get s=S, the calculation process has to repeat step (b) until s=S and N_(is)(s)=N_(is,max); (d) calculating the largest energy sum during each searching is chosen for the significant part; (e) multiplying the values of the significant part to corresponding correlation coefficients, and the results of this multiplication operation are then added together to give an estimated echo signal that will cancel the echo signal.
 6. The method of claim 5, wherein the value of ΔN is set at 10, and the value of N_(s) is set at
 20. 